#在 node01 上启动整个spark集群
ssh node01 "cd /export/servers/spark-2.2.0-bin-hadoop2.6;sbin/start-all.sh"
ssh node01 "cd /export/servers/spark-2.2.0-bin-hadoop2.6;sbin/start-history-server.sh"
#在 node02 上单独再启动一个 Master
ssh node02 "cd /export/servers/spark-2.2.0-bin-hadoop2.6;sbin/start-master.sh"

